package com.wang.service;

import com.wang.mapper.DevReportRecordDao;
import com.wang.pojo.DevReportRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author wcy
 * @date 2023-02-10 16:06
 */
@Service
public class DevReportRecordServiceImpl implements DevReportRecordService {


    @Autowired
    private DevReportRecordDao devReportRecordDao;

    @Override
    public Integer selectDevReportSendCount(Integer devId,String devReportRecordType, String todayStartTime, String todayEndTime) {
        return devReportRecordDao.selectDevReportSendCount(devId,devReportRecordType,todayStartTime,todayEndTime);
    }

    @Override
    public void addDevReportRecord(DevReportRecord devReportRecord) {
        devReportRecordDao.addDevReportRecord(devReportRecord);
    }
}
